package com.redistest.seckill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.redistest.seckill.pojo.User;
import com.redistest.seckill.vo.Result;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author jobob
 * @since 2025-04-06
 */
public interface IUserService extends IService<User> {

    Result<User> Login(String nickname, String password);
    User getUserByToken(String token, HttpServletRequest request, HttpServletResponse response) ;
}
